package com.yiren.manager.form.vip;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrVipCardForm extends GenericForm{
	
	private static final long serialVersionUID = 4715646669492604822L;

	private String vipCardId;

	private Integer buckleNumber;

	private String consumptionWay;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private Float discount;

	private String houseTypeId;

	private Float price;

	private Float pricePerDay;

	private String remark;

	private String subsidization;

	private String subsidizationValue;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private Integer useMonths;

	private String vipCardName;
	
	private String houseTypeName;
	
	private Integer subsidizationType;
	
	private Integer consumptionType;
	
	private Integer durableYears;
	
	private Integer totalPrice;
	
	private Float priceYear;
	
	public Float getPriceYear() {
		return priceYear;
	}

	public void setPriceYear(Float priceYear) {
		this.priceYear = priceYear;
	}

	public Integer getDurableYears() {
		return durableYears;
	}

	public void setDurableYears(Integer durableYears) {
		this.durableYears = durableYears;
	}

	public Integer getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Integer totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getVipCardId() {
		return vipCardId;
	}

	public void setVipCardId(String vipCardId) {
		this.vipCardId = vipCardId;
	}

	public Integer getBuckleNumber() {
		return buckleNumber;
	}

	public void setBuckleNumber(Integer buckleNumber) {
		this.buckleNumber = buckleNumber;
	}

	public String getConsumptionWay() {
		return consumptionWay;
	}

	public void setConsumptionWay(String consumptionWay) {
		this.consumptionWay = consumptionWay;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public String getHouseTypeId() {
		return houseTypeId;
	}

	public void setHouseTypeId(String houseTypeId) {
		this.houseTypeId = houseTypeId;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getPricePerDay() {
		return pricePerDay;
	}

	public void setPricePerDay(Float pricePerDay) {
		this.pricePerDay = pricePerDay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSubsidization() {
		return subsidization;
	}

	public void setSubsidization(String subsidization) {
		this.subsidization = subsidization;
	}

	public String getSubsidizationValue() {
		return subsidizationValue;
	}

	public void setSubsidizationValue(String subsidizationValue) {
		this.subsidizationValue = subsidizationValue;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getUseMonths() {
		return useMonths;
	}

	public void setUseMonths(Integer useMonths) {
		this.useMonths = useMonths;
	}

	public String getVipCardName() {
		return vipCardName;
	}

	public void setVipCardName(String vipCardName) {
		this.vipCardName = vipCardName;
	}

	public String getHouseTypeName() {
		return houseTypeName;
	}

	public void setHouseTypeName(String houseTypeName) {
		this.houseTypeName = houseTypeName;
	}

	public Integer getSubsidizationType() {
		return subsidizationType;
	}

	public void setSubsidizationType(Integer subsidizationType) {
		this.subsidizationType = subsidizationType;
	}

	public Integer getConsumptionType() {
		return consumptionType;
	}

	public void setConsumptionType(Integer consumptionType) {
		this.consumptionType = consumptionType;
	}
	
}
